package com.junzhiit.nengji.cms.web.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.cms.service.ShopTemplateService;
import com.junzhiit.nengji.cms.web.vo.ResultVO;
import com.junzhiit.nengji.cms.web.vo.ShopTemplateAddVO;


@RestController
@RequestMapping("/shop/template")
public class ShopTemplateController extends BaseController{

	@Autowired
	private ShopTemplateService shopTemplateService;
	
	@RequestMapping(method=RequestMethod.POST)
	public ResultVO add(List<ShopTemplateAddVO> shopTemplateAddVO){
		return shopTemplateService.add(shopTemplateAddVO);
	}
}
